//测试
var base_url = 'https://vendormina.lzljtdpx.com/';
//正式
// var base_url = 'https://vendorapi.lzljtdpx.com/';

App({
  onLaunch: function () {
    var that = this;
    wx.getSystemInfo({
      success: function (res) {
        that.globalData.windowHeight = res.windowHeight
      }
    })
  },
  onShow: function (options){
    if (options.scene){
      this.globalData.sceneId = options.scene
    }
   }, 
  globalData: {
    userInfo: null,
    accountInfo: {},
    base_url: base_url,
    error_toast_duration: 2000,
    login_url: base_url + 'user/login',
    servicePhone: '4000788519', //客服电话
  }
})